﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC00Controller
    /// </summary>
    public class VYC00Controller
    {
        private static VYC00BO _vyc00Bo;
        public VYC00Controller()
        {
            //
            _vyc00Bo = new VYC00BO();            
        }

        public List<ModelVYC00> GetAllList()
        {
            return _vyc00Bo.GetAllList();
        }

        public int AddData(ModelVYC00 model)
        {
            return _vyc00Bo.AddData(model);
        }

        public int EditData(ModelVYC00 model)
        {
            return _vyc00Bo.EditData(model);
        }

        public int DeleteData(ModelVYC00 model)
        {
            return _vyc00Bo.DeleteData(model);
        }

        public List<ModelVYC00> GetById(string id)
        {
            return _vyc00Bo.GetById(id);
        }
    }
}